package com.qf.spring2202.proxypatten.impl;

import com.qf.spring2202.proxypatten.dao.FangDong;
import com.qf.spring2202.proxypatten.dao.FangKe;

public class FangKeImpl implements FangKe {
    private FangDong fangDong;

    public FangDong getFangDong() {
        return fangDong;
    }

    public void setFangDong(FangDong fangDong) {
        this.fangDong = fangDong;
    }

    @Override
    public void zufang() {
       fangDong.rentHouse();
    }
}
